# Raj Akula
#

class Main:
    choice = 0;
    lives = 3;
    roomNo = 0;
    def __init__(self):
        print "Raj's Game !!!"
        while self.choice != 1:
            print " "
            print "_________________________"
            print "Please enter a choice! "
            print "1) Start Game!"
            print "2) Instructions!"
            print "3) About!"
            print "4) Quit!"
            print "_________________________"
            try:
                reply  = raw_input('Enter a choice :')   # raw_input reads sys.stdin
            except EOFError:
                print "Invalid Entry!!"
                print "Enter choice again!"
            try: 
                self.choice = int(reply)
            except ValueError:
                print "Did not enter a Number, enter again!"

            if self.choice == 2:
                print "You initially have" , self.lives , "lives!"
                print "You need to enter room 15 to win the game!!!"
                print "Your are currently in room number: " , self.roomNo
                print "In each room you can either go down or right."
                print "If you want to go down enter \"0\" ,"
                print "if you want to go right enter \"1\" ."
                print "Each room might have an item, "
                print "if you want to aquire an item press \"a\"."
                print "In order to win the game you must have a key at"
                print "end of the game or you will lose!!!"
                print "Whatever path you take you should be able to find a key!"
                print "Just make sure you aquire the item in each room!!!"
            elif self.choice == 3:
                print "Program written by Raj Akula!"
                print "Program name is Raj's Game!"
                print "Program is written for CSC 407!"
                print "Program can be distributed and changed at user's will!"
            elif self.choice == 4:
                print "Exiting Program!"
                return None
            elif self.choice == 1:
                print "Starting Game"
                self.Start();
            else :
                print "Entered Invalid Number!"


                
    def Start(self):
        print "Started!"
            



class Room:
    def __init__(self, roomNo):
        print "Player entered room number: ", roomNo

class MagicRoom:
    def __init__(self, roomNo):
        print "Player entered magic room, only magical weapons and items will work in this room! "

class Weapon:
    def __init__(self, roomNo):
        print "Player aquired weapon"

class MagicWeapon:
    def __init__(self, roomNo):
        print "Player aquired magic weapon"

class Armor:
    def __init__(self, roomNo):
        print "Player aquired armor"

class MagicArmor:
    def __init__(self, roomNo):
        print "Player aquired magic armor"

class Item:
    def __init__(self, roomNo):
        print "Player aquired item"

class MagicItem:
    def __init__(self, roomNo):
        print "Player aquired magic item"

class Creature:
    def __init__(self, roomNo):
        print "Player ran across a creature he must now fight!!"

class MagicCreature:
    def __init__(self, roomNo):
        print "Player ran across a magical creature only magical weapons will work against him!!!"

c = Main();
d = Room(1);
